package com.hh.springboot.service;

import com.hh.springboot.model.ShopCart;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ShopCartService {
    List<ShopCart> getShopCarts(int uId);
    int insertShopCart(ShopCart shopCart);
    int updateShopCart(ShopCart shopCart);
    int deleteShopCart(int id);
    ShopCart getShopCart(int commodityId, int uId);
}
